<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="Yingruan" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1,user-scalable=0" name="viewport" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta content="telephone=no" name="format-detection" />
<meta name="apple-mobile-web-app-title" content="foodie">
<title>yhofoodie</title>
<script type='text/javascript' src='../js/jquery.js?019'></script>
<script type='text/javascript' src='../js/app.js?019'></script>
<script type='text/javascript' src='../js/function.js?019'></script>
<script type='text/javascript' src='../js/common.js?019'></script>

<script type='text/javascript' src='../js/main.js?019'></script>
<link rel="stylesheet" href='../js/jquery-weui/jquery-weui.css?019' />
<link rel="stylesheet" href='../js/jquery-weui/weui.min.css?019'/>
<link rel="stylesheet" href='../css/style.css?019'/>
<script type='text/javascript' src='../js/jquery-weui/jquery-weui.js?019'></script>
<script type='text/javascript' src='../js/fastclick.js?019'></script>
<script type='text/javascript' src='../js/template/template.js?019'></script>
<script type='text/javascript' src='../js/template/jquery.temp.js?019'></script>
<script type='text/javascript' src='../js/jquery-validate.js?019'></script>

<link rel="stylesheet" href='../js/swiper/swiper.min.css?019'/>
<script type='text/javascript' src='../js/swiper/swiper.min.js?019'></script>

<script type='text/javascript'  src="../mui/js/mui.min.js?019"></script>
<link rel="stylesheet" href="../mui/css/mui.css?019" />



<style>
	.huodong001{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 100000;}
	.huodong001 .w{ position: absolute; top: 50%; width: 266px; height: 400px;  margin: -200px 0 0 -133px; left: 50%; background: #fff; }
	.huodong001 img{ width: 266px; height: 400px; border-radius: 20px; overflow: hidden; position: relative; z-index: 2;}
	.huodong001 .close1{ position: absolute; right: -30px; top: -30px; background: #fff; border-radius: 100%; width: 40px; height: 40px; z-index: 1;}
	.huodong001 .close1 svg{ width: 16px; height:16px; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -8px; fill: #666;}
</style>
</head>
<body>
	
<svg id="svgs" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display: none;">    
    <!--<symbol id="f_1" viewBox="0 0 84 84">
<path  d="M170.052,718.885a14.1,14.1,0,0,0-5.435.988c-4.022,1.623-6.069,5.435-6.069,11.363v5.787H152.9v9.67h5.646V774.57h11.5V746.693h7.835l1.058-9.67h-8.893v-4.376a5.9,5.9,0,0,1,.494-2.893c0.494-.847,1.482-1.271,3.035-1.271H178.8v-9.6h-8.752ZM165,788.013A42.01,42.01,0,1,0,122.987,746,42.01,42.01,0,0,0,165,788.013Z" transform="translate(-123 -704)"/>
    </symbol>-->
    
    <symbol id="f_home" viewBox="0 0 50 50">
  <path d="M158.684,1309H131.243c-3.477,0-6.213-3.21-6.213-7.11v-12.86h-0.666c-2.441,0-4.364-2.28-4.364-4.99a5.874,5.874,0,0,1,1.331-3.64l19.749-19.62a5.152,5.152,0,0,1,3.846-1.78,5.5,5.5,0,0,1,3.994,1.86l19.749,19.63a5.37,5.37,0,0,1,1.331,3.55c0,2.79-2,4.99-4.364,4.99h-0.592v12.86c-0.074,3.9-2.884,7.11-6.36,7.11h0ZM145,1302.76a13.813,13.813,0,0,1-7.726-2.4,16.672,16.672,0,0,1-5.47-6.31,1.448,1.448,0,0,1,.429-1.83,1.087,1.087,0,0,1,1.6.49,14.039,14.039,0,0,0,4.629,5.33,11.484,11.484,0,0,0,13.068,0,14.039,14.039,0,0,0,4.629-5.33,1.087,1.087,0,0,1,1.6-.49,1.448,1.448,0,0,1,.429,1.83,16.672,16.672,0,0,1-5.47,6.31A13.813,13.813,0,0,1,145,1302.76Zm-6.278-13.16c-2.267,0-4.111-2.11-4.111-4.7v-4.59c0-2.59,1.844-4.7,4.111-4.7s4.11,2.11,4.11,4.7v4.59C142.832,1287.49,140.988,1289.6,138.722,1289.6Zm0-11.31a1.909,1.909,0,0,0-1.763,2.02v4.59a1.779,1.779,0,1,0,3.525,0v-4.59A1.909,1.909,0,0,0,138.722,1278.29Zm18.851,5.66h-7.982a1.357,1.357,0,0,1,0-2.69h7.982A1.357,1.357,0,0,1,157.573,1283.95Z" transform="translate(-120 -1259)"/>
    </symbol>
        <symbol id="f_select" viewBox="0 0 15 15">
    <path d="M333,536.011l7,6.442,6-6.442v4.555l-6,6.442-7-6.442v-4.555Z" transform="translate(-332 -534)"/>
    </symbol>
     <symbol id="f_home2" viewBox="0 0 50 50">
 <path d="M158.683,1309h-27.44c-3.477,0-6.213-3.21-6.213-7.11v-12.86h-0.666c-2.441,0-4.364-2.28-4.364-4.99a5.874,5.874,0,0,1,1.331-3.64l19.749-19.62a5.152,5.152,0,0,1,3.846-1.78,5.5,5.5,0,0,1,3.994,1.86l19.749,19.63a5.37,5.37,0,0,1,1.331,3.55c0,2.79-2,4.99-4.364,4.99h-0.592v12.86c-0.073,3.9-2.884,7.11-6.361,7.11h0Zm-13.757-47.12a2.919,2.919,0,0,0-2.219,1.01l-19.674,19.63a2.07,2.07,0,0,0-.518,1.52,1.977,1.977,0,0,0,1.849,2.12h3.106v15.73a4.093,4.093,0,0,0,3.773,4.32h27.44a4.093,4.093,0,0,0,3.773-4.32v-15.73h3.106a1.977,1.977,0,0,0,1.849-2.12,2.633,2.633,0,0,0-.517-1.52l-19.675-19.54a2.873,2.873,0,0,0-2.293-1.1h0Zm0,0M145,1302.76a13.813,13.813,0,0,1-7.726-2.4,16.672,16.672,0,0,1-5.47-6.31,1.447,1.447,0,0,1,.429-1.83,1.087,1.087,0,0,1,1.6.49,14.033,14.033,0,0,0,4.63,5.33,11.482,11.482,0,0,0,13.067,0,14.039,14.039,0,0,0,4.629-5.33,1.087,1.087,0,0,1,1.6-.49,1.447,1.447,0,0,1,.428,1.83,16.661,16.661,0,0,1-5.469,6.31A13.813,13.813,0,0,1,145,1302.76Zm-6.278-13.16c-2.267,0-4.111-2.11-4.111-4.7v-4.59c0-2.59,1.844-4.7,4.111-4.7s4.11,2.11,4.11,4.7v4.59C142.832,1287.49,140.988,1289.6,138.722,1289.6Zm0-11.31a1.909,1.909,0,0,0-1.763,2.02v4.59a1.779,1.779,0,1,0,3.525,0v-4.59A1.909,1.909,0,0,0,138.722,1278.29Zm18.851,5.66h-7.982a1.357,1.357,0,0,1,0-2.69h7.982A1.357,1.357,0,0,1,157.573,1283.95Z" transform="translate(-120 -1259)"/>
    </symbol>
    
    <symbol id="f_saomiao" viewBox="0 0 52 52">
      <path d="M399.305,1262.33H350.7a1.69,1.69,0,1,0,0,3.38h48.609a1.69,1.69,0,1,0,0-3.38h0Zm-37.392-8.38a1.69,1.69,0,1,0,0,3.38h26.174a1.69,1.69,0,1,0,0-3.38H361.913Zm26.175,20.15a1.69,1.69,0,1,0,0-3.38H361.913a1.69,1.69,0,1,0,0,3.38h26.175Zm-4.674-31.68h12a1.264,1.264,0,0,1,1.259,1.26v11.96a1.7,1.7,0,0,0,3.392,0v-11.96a4.65,4.65,0,0,0-4.651-4.64h-12a1.69,1.69,0,1,0,0,3.38h0Zm-31.784,14.86a1.689,1.689,0,0,0,1.7-1.69v-11.96a1.256,1.256,0,0,1,1.259-1.25h12a1.69,1.69,0,1,0,0-3.38h-12a4.648,4.648,0,0,0-4.65,4.63v11.96a1.689,1.689,0,0,0,1.695,1.69h0Zm46.74,13.44a1.689,1.689,0,0,0-1.7,1.69v11.96a1.256,1.256,0,0,1-1.26,1.25h-12a1.69,1.69,0,1,0,0,3.38h12a4.648,4.648,0,0,0,4.651-4.63v-11.96a1.689,1.689,0,0,0-1.695-1.69h0Zm-31.783,14.9h-12a1.255,1.255,0,0,1-1.258-1.25v-11.96a1.7,1.7,0,0,0-3.392,0v11.96a4.647,4.647,0,0,0,4.65,4.63h12a1.69,1.69,0,1,0,0-3.38h0Zm0,0" transform="translate(-349 -1238)"/>
    </symbol>
    
    <symbol id="f_hujiao" viewBox="0 0 60 60">
      <path style="fill-rule: evenodd;"  d="M220.918,1192.53a13.617,13.617,0,0,0-4.5-9.17c-1.654-1.68-6.757-1.51-8.959-1.15a5.155,5.155,0,0,1-3.3-.25c-0.593-.16-0.492-2.27-0.463-2.68a11.866,11.866,0,0,0,3.482-6.02c1.141,0.1,2.366-1.27,2.824-3.22,0.479-2.09-.1-4.04-1.294-4.35a1.52,1.52,0,0,0-1.2.25v-4.3c0-6.4-4.962-11.64-11.013-11.64h-1.128c-6.069,0-11.02,5.23-11.02,11.64v4.43a1.676,1.676,0,0,0-1.54-.13c-1.123.54-1.344,2.57-.491,4.52a4.672,4.672,0,0,0,2.286,2.53,11.814,11.814,0,0,0,3.68,6.42c0.034,0.61.073,2.41-.468,2.56a5.188,5.188,0,0,1-3.3.24c-2.2-.36-7.3-0.53-8.959,1.16a13.559,13.559,0,0,0-4.505,9.16,58.2,58.2,0,0,0,.948,12.64c0.272,0.51,5.222,2.38,23.262,2.81V1208c0.249,0,.481-0.01.729-0.01s0.48,0.01.728,0.01v-0.02c18.035-.44,23.454-2.36,23.719-2.87,0.271-.53.757-7.82,0.481-12.58h0Zm-40.593,11.8c-0.185.21-5.526,0.08-5.848-.78s-0.654-11.95-.135-13.35,1.717-4.06,2.789-5.04a2.972,2.972,0,0,1,2.681-.91c-0.006.01,0.7,19.88,0.513,20.08h0Zm6.012-35.63a15.681,15.681,0,0,1,.231-2.65,1.088,1.088,0,0,1,1.271-.91,11.627,11.627,0,0,0,6.2-.76,14.207,14.207,0,0,0,3.545-1.9,1.059,1.059,0,0,1,1.411.11,7,7,0,0,0,2.6,1.78,6.447,6.447,0,0,0,2.608.45,1.126,1.126,0,0,1,1.134.92,15.24,15.24,0,0,1,.288,2.96c0.006,6.78-4.312,12.27-9.641,12.27s-9.647-5.49-9.647-12.27h0Zm10.754,37.7H194.9l-8.528-21.56,4.239-1.73s2.167,0.52,3.008.82a6.065,6.065,0,0,0,2.376,0v-0.01h0.023v0.01a5.922,5.922,0,0,0,2.377-.01c0.829-.29,3.008-0.81,3.008-0.81l4.239,1.73Zm20.62-2.85c-0.333.86-5.662,0.99-5.848,0.79s0.514-20.08.514-20.08a2.913,2.913,0,0,1,2.681.91c1.073,0.97,2.275,3.63,2.789,5.04s0.2,12.47-.136,13.34h0Zm0,0-16.54-18.75-1.45.67h-2.179a0.765,0.765,0,0,0-.208.04,0.678,0.678,0,0,0-.633-0.45H195.29a0.671,0.671,0,0,0-.627.45,1.166,1.166,0,0,0-.192-0.04h-2.19l-1.451-.67a0.314,0.314,0,0,0-.44.29v4.45a0.311,0.311,0,0,0,.446.28l0.909-.44h2.715a0.633,0.633,0,0,0,.193-0.04,0.673,0.673,0,0,0,.626.45h1.41a0.681,0.681,0,0,0,.633-0.45,0.724,0.724,0,0,0,.209.04h2.715l0.909,0.44a0.31,0.31,0,0,0,.446-0.28v-4.45a0.3,0.3,0,0,0-.43-0.29h0Zm0,0-6.773,8.81a1.6,1.6,0,1,0,2.405-1.39,1.6,1.6,0,0,0-2.405,1.39h0Zm0,0,0,5.44a1.6,1.6,0,1,0,2.405-1.39,1.587,1.587,0,0,0-1.6,0,1.615,1.615,0,0,0-.8,1.39h0Zm0,0" transform="translate(-166 -1149)"/>
    </symbol>
    
    <symbol id="f_dingdan" viewBox="0 0 60 60">
        <path style="fill-rule: evenodd;" d="M215.857,1034.12h-9.714v-12.87h-30v47.5H196s0.27-.45,1.992,2.1a12.243,12.243,0,0,0,2.643,3.15H174.571a3.6,3.6,0,0,1-3.571-3.63v-50.74a3.6,3.6,0,0,1,3.571-3.63h32.144L221,1030.5v23.04c-3.121-4.01-5.143-4.92-5.143-4.92v-14.5Zm-33.571,21.76v-3.63H196v3.63H182.286Zm0-25.38H196v3.62H182.286v-3.62Zm24.429,14.5H182.286v-3.63h24.429V1045Zm3.571,7.25a10.876,10.876,0,1,1-10.714,10.87,10.8,10.8,0,0,1,10.714-10.87h0Zm-1.746,18.79,10.018-10.2-2.666-2.67-7.6,7.74-3.619-3.67-2.324,2.51Zm0,0" transform="translate(-166 -1015)"/>
    </symbol>
    
    <symbol id="f_member" viewBox="0 0 50 50">
     <path d="M607,1259a25,25,0,1,0,25,25,25,25,0,0,0-25-25h0Zm12.387,43.38a22.062,22.062,0,0,1-7.918,3.33,22.136,22.136,0,0,1-16.856-3.33,23.057,23.057,0,0,1-3.282-2.71c-0.313-.31-0.618-0.64-0.913-0.97a19.539,19.539,0,0,1,1.15-1.95,18.919,18.919,0,0,1,2.274-2.75,18.6,18.6,0,0,1,2.756-2.28,18.308,18.308,0,0,1,3.16-1.71,18.5,18.5,0,0,1,3.489-1.09,19.219,19.219,0,0,1,7.506,0,18.5,18.5,0,0,1,3.489,1.09,18.308,18.308,0,0,1,3.16,1.71,18.6,18.6,0,0,1,2.756,2.28,18.855,18.855,0,0,1,2.274,2.75,19.34,19.34,0,0,1,1.149,1.95c-0.294.33-.6,0.66-0.912,0.97a23.057,23.057,0,0,1-3.282,2.71h0Zm-15.261-17.25a7.506,7.506,0,0,1-2.349-1.59,7.4,7.4,0,0,1-1.584-8.1,7.225,7.225,0,0,1,1.584-2.34,7.341,7.341,0,0,1,2.349-1.59,7.411,7.411,0,0,1,5.748,0,7.341,7.341,0,0,1,2.349,1.59,7.225,7.225,0,0,1,1.584,2.34,7.383,7.383,0,0,1-1.584,8.1,7.506,7.506,0,0,1-2.349,1.59,7.531,7.531,0,0,1-5.748,0h0Zm23.293,7.49a21.987,21.987,0,0,1-1.948,3.62,21.493,21.493,0,0,0-12.426-9.67,10.227,10.227,0,1,0-12.09,0,21.5,21.5,0,0,0-12.426,9.67,22.022,22.022,0,0,1-3.238-7.77,22.426,22.426,0,0,1,0-8.94,21.886,21.886,0,0,1,1.29-4.15,22.118,22.118,0,0,1,4.75-7.05,23.057,23.057,0,0,1,3.282-2.71,22.143,22.143,0,0,1,24.774,0,23.057,23.057,0,0,1,3.282,2.71,22.365,22.365,0,0,1,2.707,3.28,22.155,22.155,0,0,1,2.043,21.01h0Zm0,0" transform="translate(-582 -1259)"/>
    </symbol>
<input type="number" max="50" />
    <symbol id="f_search" viewBox="0 0 40 40">
      <path d="M716.611,200.617a1.309,1.309,0,0,1-1.83,0l-10.366-10.2a16.918,16.918,0,0,1-10.59,3.7,16.559,16.559,0,1,1,16.826-16.557,16.333,16.333,0,0,1-4.365,11.1l10.325,10.161A1.26,1.26,0,0,1,716.611,200.617Zm-22.786-37.069a14.012,14.012,0,1,0,14.237,14.009A14.125,14.125,0,0,0,693.825,163.548Z" transform="translate(-677 -161)"/>
     </symbol>
    
    <symbol id="f_gps" viewBox="0 0 22 22">
      <path d="M206.5,792c-1.413.007-8.5-10.3-8.5-13.75a8.5,8.5,0,0,1,17,0C215,781.653,207.891,792.007,206.5,792Zm0-20.624a6.98,6.98,0,0,0-7.083,6.874c0,2.875,5.906,11.693,7.083,11.688,1.159,0,7.084-8.852,7.084-11.688A6.981,6.981,0,0,0,206.5,771.376Zm0,10.312a3.439,3.439,0,1,1,3.542-3.438A3.491,3.491,0,0,1,206.5,781.688Zm0-5.5a2.063,2.063,0,1,0,2.125,2.062A2.094,2.094,0,0,0,206.5,776.188Z" transform="translate(-195.5 -770)"/>
    </symbol>
    
    <symbol id="f_phone" viewBox="0 0 22 22">
        <path d="M55.528,814.363l1.849,1.851c1.021,1.023.53,2.244,0,3.7a43.756,43.756,0,0,1-5.828,7.63,39.474,39.474,0,0,1-7.574,5.794c-1.348.7-2.676,1.023-3.7,0l-1.849-1.851a1.222,1.222,0,0,1,0-1.852l3.7-2.777a1.391,1.391,0,0,1,1.849,0h0l1.093,1.1a37.124,37.124,0,0,0,3.99-3.41,32.037,32.037,0,0,0,2.98-3.5l-1.131-1.133a1.4,1.4,0,0,1,0-1.852l2.773-3.7a1.3,1.3,0,0,1,1.848,0M53.736,820.9l-1.484-1.488a0.888,0.888,0,0,1,0-1.178l1.764-2.356a0.75,0.75,0,0,1,1.177,0l1.176,1.178a1.9,1.9,0,0,1,.084,1.936,39.089,39.089,0,0,1-5.546,7.407c-2.34,2.542-7.856,6.018-7.856,6.018a2.353,2.353,0,0,1-1.932-.085l-1.177-1.178a0.887,0.887,0,0,1,0-1.178l2.353-1.768a0.885,0.885,0,0,1,1.176,0l1.45,1.452C45.261,829.419,50.707,825.834,53.736,820.9Z" transform="translate(-36.984 -813)"/>
    </symbol>
      
   <symbol id="f_black" viewBox="0 0 45 45">
        <path d="M73.011,81H37.423l12.948,13H44.925L29.989,79,44.925,64.006h5.446L37.423,77H73.011v4Z" transform="translate(-29 -56.5)"/>
    </symbol>
    
   <symbol id="f_right" viewBox="0 0 18 26">
          <path d="M711.012,659l13.441-13-13.441-13h4.554l13.442,13-13.442,13h-4.554Z" transform="translate(-711 -633)"/>
    </symbol>
    
    <symbol id="f_diancai" viewBox="0 0 60 60">
       <path d="M288.611,1072.68H291.6v-5.58h-2.984v-2.23H291.6v-4.83h-2.984v-2.6H291.6v-5.21h-2.984v-2.6H291.6v-4.84h-2.984v-2.6H291.6v-4.46h-2.984v-2.6H291.6v-8.18H286V1079h5.6v-4.09h-2.984v-2.23Zm5.222-34.95v-2.6H291.6v2.23h2.238v0.37Zm-2.238,7.06h2.238v-2.6H291.6v2.6Zm0,7.44h2.238v-2.6H291.6v2.6Zm0,7.44h2.238v-2.23H291.6v2.23Zm0,7.43h2.238v-2.23H291.6v2.23Zm0,5.58v2.23h2.238v-2.23H291.6Zm44.387,1.12v-50.94c0-1.49-1.865-1.86-1.865-1.86H291.6a5.391,5.391,0,0,0-5.6,4.46h43.641a1.963,1.963,0,0,1,2.239,1.86v46.48h-2.611v-46.85H293.833v8.18h2.238v2.23h-2.238v4.46h2.238v2.23h-2.238v5.21h2.238v2.23h-2.238v5.95h2.238v2.23h-2.238v4.83h2.238v2.23h-2.238v5.58h2.238v2.23h-2.238v4.09H328.9v-2.6h4.848c2.612,0,2.238-2.23,2.238-2.23h0Zm-13.428-25.29c-1.865,1.49-3.73,2.23-5.222,1.49l-3.357,3.35,7.087,7.06s0.373,1.49-1.491,1.49l-7.088-7.07-7.087,7.07s-1.492.37-1.492-1.49l7.087-7.06-2.984-3.35c-1.492.74-2.238,1.49-4.1,0l-4.476-4.83,0.746-.75,4.849,4.09,0.746-.74-4.476-4.83,0.746-.75,4.849,4.46,1.119-1.11-4.476-4.83,0.746-.75,4.849,4.83c1.492,1.49.746,2.61,0.373,3.72l2.984,3.35,2.984-2.98c-0.746-1.48,0-3.71,1.865-5.2,1.865-1.86,4.85-2.6,6.341-1.12,1.492,1.12.746,3.72-1.119,5.95h0Zm0,0" transform="translate(-280.985 -1020)"/>
    </symbol>
    
    
    
    <symbol id="f_1" viewBox="0 0 44 35">
        <path  d="M53.293,199.462a1.281,1.281,0,0,1-.156-1.819,14.576,14.576,0,0,1,6.886-4.573,1.307,1.307,0,1,1,.782,2.494,11.986,11.986,0,0,0-5.634,3.742,1.285,1.285,0,0,1-.991.467,1.318,1.318,0,0,1-.887-0.311h0ZM86,211.128A3.889,3.889,0,0,1,82.114,215H45.886a3.87,3.87,0,0,1-1.1-7.587v-0.832a18.956,18.956,0,0,1,5.79-13.173,19.225,19.225,0,0,1,9.624-5.067,5.247,5.247,0,1,1,8.268.156,19.157,19.157,0,0,1,14.736,18.084v0.832A3.89,3.89,0,0,1,86,211.128h0ZM61.744,185.2a2.634,2.634,0,1,0,2.634-2.625,2.656,2.656,0,0,0-2.634,2.625h0ZM47.4,206.633v0.6H80.6v-0.624a16.6,16.6,0,0,0-28.168-11.381A16.3,16.3,0,0,0,47.4,206.633h0Zm35.993,4.495a1.278,1.278,0,0,0-1.278-1.273H45.886a1.274,1.274,0,1,0,0,2.547H82.114a1.278,1.278,0,0,0,1.278-1.274h0Z" transform="translate(-42 -180)"/>
    </symbol>

     <symbol id="f_2" viewBox="0 0 18 32">
          <path d="M595.223,213.6l-14.814-14.45a1.367,1.367,0,0,1,0-1.95l15.172-14.8a1.445,1.445,0,0,1,2,0,1.337,1.337,0,0,1,0,1.95L583.4,198.175l13.816,13.475a1.367,1.367,0,0,1,0,1.95,1.43,1.43,0,0,1-1,.4,1.478,1.478,0,0,1-1-.4h0Z" transform="translate(-580 -182)"/>
    </symbol>
    <symbol id="f_3" viewBox="0 0 15 8">
          <path d="M726.008,81.994l-7.191,8.013-7.812-7.794Z" transform="translate(-711 -82)"/>
    </symbol>
    
    <symbol id="f_4" viewBox="0 0 42 42">
           <path d="M28.559,18.838H14.22a1.787,1.787,0,1,0,0,3.575H28.559a1.787,1.787,0,1,0,0-3.575h0Z" transform="translate(-0.391 0.375)"/>
    </symbol>

    <symbol id="f_5" viewBox="0 0 42 42">
          <path d="M28.559,18.838H23.182V13.476a1.792,1.792,0,0,0-3.585,0v5.362H14.22a1.787,1.787,0,1,0,0,3.575H19.6v5.362a1.792,1.792,0,0,0,3.585,0V22.413h5.377a1.787,1.787,0,1,0,0-3.575h0Z" transform="translate(-0.391 0.375)"/>
    </symbol>

    <symbol id="f_6" viewBox="0 0 37 38">
              <path d="M18.819,23.152a2.167,2.167,0,0,0-2.272,1.861,4.267,4.267,0,0,0-.127,1.082q0,2.6,1.977,2.858L18.819,29a2.171,2.171,0,0,0,2.271-1.731,5.254,5.254,0,0,0,.127-1.169q0-2.511-1.85-2.857a1.661,1.661,0,0,0-.547-0.087v0M25.211,6.967a13.783,13.783,0,0,1,.589,3.289,5.869,5.869,0,0,1-.209,2.077,2.431,2.431,0,0,1-.778,1.1,2.219,2.219,0,0,1-.883.476,4.31,4.31,0,0,1-.778.065,4.25,4.25,0,0,1-2.965-.908A4.082,4.082,0,0,1,18.8,10.624a12.863,12.863,0,0,1-.146-3.246,15.087,15.087,0,0,1,.61-3.332,20.649,20.649,0,0,1,1.008-2.7A2.977,2.977,0,0,1,21.219,0c-0.028,0-.189.015-0.483,0.042s-0.6.065-.9,0.108-0.708.123-1.2,0.238A12.829,12.829,0,0,0,17.18.822a13.449,13.449,0,0,0-1.619.735,13.22,13.22,0,0,0-1.724,1.082,15.416,15.416,0,0,0-1.725,1.515,17.794,17.794,0,0,0-1.7,1.991A8.9,8.9,0,0,0,8.957,9.759a8.649,8.649,0,0,0,0,3.073q0.275,1.234.464,2.316a2.36,2.36,0,0,1-.273,1.774A3.26,3.26,0,0,1,7.213,18a1.519,1.519,0,0,1-1.536-.5,3.316,3.316,0,0,1-.715-1.731,13.022,13.022,0,0,1-.127-2.035,7.793,7.793,0,0,1,.191-1.665q-0.673-.044-2.061,2.337A20.85,20.85,0,0,0,.021,24.021Q-0.4,32.372,7.088,35.835,11.838,38,19.578,38q12.533,0.087,16.108-7.228,2.564-5.151.126-12.248a21.736,21.736,0,0,0-5.678-9.089,8.356,8.356,0,0,0-4.92-2.466h0M12.594,31.2H10.281V27.048H6.158V31.2H3.846V20.816H6.158v4.155h4.122V20.816h2.313V31.2h0m9.778-1.385A4.791,4.791,0,0,1,18.734,31.2,4.756,4.756,0,0,1,15.1,29.8a5.3,5.3,0,0,1-1.323-3.786A5.286,5.286,0,0,1,15.1,22.2a4.8,4.8,0,0,1,3.638-1.384A4.79,4.79,0,0,1,22.372,22.2,5.28,5.28,0,0,1,23.7,26.009a5.282,5.282,0,0,1-1.325,3.809h0m11.251-6.838H30.131V31.2H27.777V22.979H24.285V20.814h9.337v2.165h0m0,0h0Z" transform="translate(-0.031)"/>
    </symbol>

      <symbol id="f_7" viewBox="0 0 39 36">
                  <path d="M96.562,1247.01a5.846,5.846,0,0,0-4.156,1.52,7,7,0,0,0-1.963,5.33c0,4.43.007,16.19,0.007,16.18a4.274,4.274,0,0,1-4.259,4.28H66.5a4.275,4.275,0,0,1-4.259-4.28v-9.74a4.272,4.272,0,0,1,4.259-4.27H84.452a1.545,1.545,0,0,0,0-3.09H66.5a7.357,7.357,0,0,0-7.338,7.36v9.74a7.357,7.357,0,0,0,7.338,7.36H86.192a7.358,7.358,0,0,0,7.339-7.36s-0.005-11.75-.005-16.18a4.148,4.148,0,0,1,.963-3.06,2.94,2.94,0,0,1,1.87-.72,1.538,1.538,0,0,0,.2-3.07h0Zm-12.085,13.04H68.248a1.54,1.54,0,0,0,0,3.08h16.23a1.54,1.54,0,0,0,0-3.08h0Zm0,7.11H68.248a1.54,1.54,0,1,0,0,3.08h16.23a1.54,1.54,0,0,0,0-3.08h0Zm7.472,13.6h0Zm-2.238,0a2.238,2.238,0,1,0,2.238-2.25,2.237,2.237,0,0,0-2.238,2.25m-28.472,0h0Zm-2.239,0a2.238,2.238,0,1,0,2.239-2.25A2.237,2.237,0,0,0,59,1280.76" transform="translate(-59 -1247)"/>
    </symbol>
    <symbol id="f_8"  viewBox="0 0 33 33">
 <path d="M552.074,1713.12h-6.832v-1.59a3.575,3.575,0,0,0-3.589-3.53H531a3.576,3.576,0,0,0-3.59,3.53v1.59h-6.484a0.91,0.91,0,1,0,0,1.82h2.2v22.53a3.575,3.575,0,0,0,3.59,3.53h19.916a3.575,3.575,0,0,0,3.589-3.53v-22.53h1.853a0.9,0.9,0,0,0,.926-0.91,0.991,0.991,0,0,0-.926-0.91h0Zm-22.695-1.59a1.768,1.768,0,0,1,1.737-1.71h10.652a1.768,1.768,0,0,1,1.737,1.71v1.59H529.379v-1.59h0Zm18.989,25.6c0,1.02-.579,2.05-1.5,2.05H526.947a1.894,1.894,0,0,1-1.968-1.59l0.116-22.65h23.273v22.19h0Zm-17.136-17.3a0.849,0.849,0,0,0-.927.91v12.18a0.927,0.927,0,0,0,1.853,0v-12.18a0.991,0.991,0,0,0-.926-0.91h0Zm5.789,0a0.849,0.849,0,0,0-.926.91v12.18a0.926,0.926,0,0,0,1.852,0v-12.18a0.991,0.991,0,0,0-.926-0.91h0Zm5.789,0a0.849,0.849,0,0,0-.926.91v12.18a0.927,0.927,0,0,0,1.853,0v-12.18a0.992,0.992,0,0,0-.927-0.91h0Z" transform="translate(-520 -1708)"/>
    </symbol>

        <symbol id="f_9"  viewBox="0 0 33 33">
   <path d="M683.575,266.345l-7.846-7.846,7.849-7.849a3.7,3.7,0,0,0-5.231-5.231l-7.849,7.849-7.846-7.846a3.7,3.7,0,0,0-5.232,5.232l7.846,7.846-7.849,7.849a3.7,3.7,0,1,0,5.231,5.231l7.849-7.849,7.846,7.846a3.7,3.7,0,0,0,5.232-5.232h0Z" transform="translate(-656.344 -244.344)"/>
    </symbol>
  <symbol id="f_10" viewBox="0 0 11 20">
     <path d="M590.284,207.75l-9.034-9.031a0.868,0.868,0,0,1,0-1.219l9.252-9.25a0.866,0.866,0,0,1,1.217,0,0.851,0.851,0,0,1,0,1.219l-8.644,8.64,8.426,8.422a0.86,0.86,0,0,1-.609,1.469,0.888,0.888,0,0,1-.608-0.25h0Z" transform="translate(-581 -188)"/>
    </symbol>

     <symbol id="f_11" viewBox="0 0 92 92">
  <path d="M377,340a46,46,0,1,0,46,46,46,46,0,0,0-46-46h0Zm-6.064,66.157-3.95,3.95-0.276.277L347.23,390.9l4.227-4.226,15.253,15.254L402.542,366.1l4.227,4.226-35.833,35.833h0Z" transform="translate(-331 -340)"/>
    </symbol>
    <symbol id="f_13" viewBox="0 0 32 39">
<path d="M144.82,728.459a0.924,0.924,0,0,0-.994.833h0v6.355h0a1.01,1.01,0,0,0,1.988,0h0v-6.356a0.924,0.924,0,0,0-.994-0.833h0Zm12.544-8.519h-2.156v-3.382a10.663,10.663,0,0,0-2.933-7.457,10.512,10.512,0,0,0-14.91,0,10.658,10.658,0,0,0-2.933,7.457v3.382h-1.8A3.523,3.523,0,0,0,129,723.328v18.283A3.523,3.523,0,0,0,132.636,745h24.728A3.523,3.523,0,0,0,161,741.611V723.328a3.523,3.523,0,0,0-3.636-3.388h0Zm-20.977-3.382a8.434,8.434,0,1,1,16.866,0v3.382H136.387v-3.382h0Zm22.658,25.053a1.566,1.566,0,0,1-1.681,1.411H132.636a1.566,1.566,0,0,1-1.681-1.411V723.328a1.566,1.566,0,0,1,1.681-1.41h24.728a1.566,1.566,0,0,1,1.681,1.41v18.283h0Z" transform="translate(-129 -706)"/>
    </symbol>

     <symbol id="f_phone1" viewBox="0 0 30 40">
  <path d="M104.989,554.109a2.049,2.049,0,1,0,2.09,2.049,2.067,2.067,0,0,0-2.09-2.049h0ZM116.864,522H93.136A3.1,3.1,0,0,0,90,525.074v33.852A3.1,3.1,0,0,0,93.136,562h23.728A3.1,3.1,0,0,0,120,558.926V525.1a3.12,3.12,0,0,0-3.136-3.1h0Zm-23.728,2.071h23.728a1.034,1.034,0,0,1,1.045,1.024v25.374H92.068V525.1a1.053,1.053,0,0,1,1.067-1.024h0Zm23.728,35.9H93.136a1.034,1.034,0,0,1-1.045-1.025V552.67h25.818v6.256a1.039,1.039,0,0,1-1.045,1.047h0Zm0,0" transform="translate(-90 -522)"/>
    </symbol>

     <symbol id="f_xiala" viewBox="0 0 15 15">
 <path d="M684.005,92.011l6.533,6.442L697,92.011v4.555l-6.458,6.442-6.533-6.442V92.011Z" transform="translate(-683 -90)"/>
    </symbol>
	
	 <symbol id="f_coo" viewBox="0 0 30 30">
   <path d="M683.575,266.345l-7.846-7.846,7.849-7.849a3.7,3.7,0,0,0-5.231-5.231l-7.849,7.849-7.846-7.846a3.7,3.7,0,0,0-5.232,5.232l7.846,7.846-7.849,7.849a3.7,3.7,0,1,0,5.231,5.231l7.849-7.849,7.846,7.846a3.7,3.7,0,0,0,5.232-5.232h0Z" transform="translate(-656.344 -244.344)"></path>

	</symbol>
	
</svg>


<div class="html-box" id="bodyapp" style="display: block;">
	<div>
	<!--APP首页-->
	<div id="main-html">
		<div class="titles fiex" style="height: 0;"></div>		
		
		<div class="huodong001" id="huodong001" style="display: none;"></div>
		
		<script id="huodong001-js" type="text/html">
			<div class="w">
				<a href="javascript:;" onclick="gotof_01('{{tancheng.list[0].type}}','{{tancheng.list[0].url}}',{{tancheng.position_id}},{{tancheng.list[0].adv_id}},'{{tancheng.list[0].title}}')" class="close1"><svg class="g2"><use xlink:href="#f_coo"></use></svg></a>
				<img class="im" src="{{src}}" />
			</div>
		</script>
	
		
		<div class="banner">
			<div id="banner-box" style="min-height: 150px;"></div>			
			
			<script type="text/html" id="banner-js">
				<div class="swiper-container">
					<div class="swiper-wrapper">
						{{each list as v i}}
						
				        <div class="swiper-slide">
				        	<!--<p>{{oss + v.thumb}}?x-oss-process=image/resize,m_fill,h_420,w_750</p><br/>-->
				        	<a href="javascript:;" onclick="gotof_01('{{v.type}}','{{if v.url}}{{v.url}}{{else}}0{{/if}}',{{position_id}},{{v.adv_id}},'{{v.title}}')"><img src="{{oss + v.thumb}}?x-oss-process=image/resize,limit_0,m_fill,h_420,w_750" style="width: 100%; height: auto;"  /></a></div>
				        {{/each}}
				    </div>
				    <div class="swiper-pagination" style="opacity: 0;"></div>
			    </div>
			</script>
			
			
			<div class="postion ">
				<svg class="g2"><use xlink:href="#f_gps"></use></svg>
				<p class="position_p f-24">&nbsp;</p>
			</div>
			<div class="lang-xiala "  id="lang-xiala"></div>
			<script type="text/html" id="lang-xial-js">			
				<span class="l f-24" style="vertical-align: top;">&nbsp;</span>
        		<svg class="g2" style="vertical-align: top;"><use xlink:href="#f_xiala"></use></svg>
        		<div class="child f-26">
        			{{each lan as v i}}        		
        			 <a href="javascript:;" class="a {{if v.value==set}}on{{/if}}" data-lan="{{v.value}}">{{v.title}}</a>
        			{{/each}}
        		</div>
			</script>
			
		</div>
		
		<div class="bankgray"></div>
		
		<div class="mainbox1" id="mainbox1" >
			<div class="center pad-50">
				<img src="../images/load1.gif" style="width: 0.3rem; height: auto;" />
			</div>
		</div>
		<script type="text/html" id="mainbox1-js">
			   {{if count>0}}
				<div class="main-p2 pad-20 pad-t-30 pad-b-30 center">
					<a href="javascript:gotoroot({{shopid}},{{shop_table_id}})" >
						<div class="mag-b-20 f-30"><span>{{shop_name}}</span></div>
						<div class="mag-b-20 f-30">
							<span class="bon-green"><span data-l="1050"></span> <span>{{shop_table_name}}</span></span>
						</div>
						<div class="bon center f-26">
							<span data-l="1169" ></span>
						</div>
					</a>
				</div>
				{{if point>0}}
					<div class="mag-20 pad-5 center fiex" style="border: 1px solid #eee; border-radius: 0.2rem;">
						<div class="fiex1"><img style="width: 0.8rem; height: 0.8rem;" src="../images/m_03.png"></div>
						<div class="fiex2">
							<span data-l="1174" class="mag-t-10"></span>			
							<span class="red f-bold f-30" id="point">{{point}}</span>
						</div>
						<div class="fiex1" id="getpoint">
							<div class="get mag-t-20 mag-b-20 f-30">
								<a href="javascript:clicked('../APP/bind_phone.html')" class="bon-red" style="padding: 0.1rem;" data-l="1175"></a>
							</div>
						</div>
					</div>
				{{/if}}
			{{else}}
				<div class="main-p pad-20">	
					<div class="center mag-10">
						<img src="../images/d1.jpg" style="width: 4rem; height: 2rem;" />
					</div>
					<div class="center f-40 green"><span data-l="1094"></span></div>
					<div class="pad-20 green center">
						<span data-l="1095"></span>
					</div>
					<div class="pad-10 center">
						<a href="javascript:clicked('../APP/code.html')" class="bon-green f-30"><span data-l="1096"></span></a>
					</div>			
				</div>
			{{/if}}
		</script>
		
		
		<div class="bankgray"></div>
		
		<div class="main-pos">			
			<!---->
			<!--<a class="p bk" href="javascript:clicked('../APP/open_h5.html?httpurl=http://yhofoodie.com')">-->
			<a class="p bk" href="javascript:clicked('../APP/recommend_list.html')">
				<span class="p1 f-36" data-l="1165"></span>
				<br>
				<span class="p2 f-28 yellow"  data-l="1166"></span>
			</a>
		</div>
		<div class="bankgray"></div>
		
		<div class="main-card cf" >
			<div class="item" style="width: 100%;">
				<a href="javascript:clicked('../APP/coupon_get.html')">
					<div class="w w1 fiex">
						<div class="tb fiex1 fiex"><span style="color: #ffc600;" data-l="1167" class="fiex1"></span></div>
					</div>
				</a>
			</div>
		</div>
		
		<div class="main-gg cf" style="display: none;">
			<img src="../images/null.gif" class="gg" data-src="../images/home_13.jpg" />
		</div>
	
		
		<div class="bank50"></div>
		<div class="bank100"></div>


	</div>
	    <!--会员中心-->
    <div id="member-html" style="display: none;">
        <div class="titles fiex" style="height: 0;"><div class="fiex1 f-40"></div></div>
        <div class="member-top">
            <div class="bank30"></div>
            <img id="userhead" data-src="../images/user.png" src="../images/null.gif" />
            <p class="f-40 fff" id="username">User name</p>
        </div>
        <div class="member-h1   f-30 cf" >
        	<div class="item">
        		<a href="javascript:clicked('../APP/integral.html')">
        			<span class="ico"><img data-src="../images/m_03.png" src="../images/null.gif" /></span>
                	<span data-l="1155"></span>
        		</a>
        	</div>
        	<div class="item">
        		<a href="javascript:clicked('../APP/my_vipcard.html')">
        			<span class="ico"><img data-src="../images/m_05.png" src="../images/null.gif" /></span>
                	<span  data-l="1156"></span>
        		</a>
        	</div>
        	<div class="item">
        		<a href="javascript:clicked('../APP/my_coupon.html')">
        			  <span class="ico"><img data-src="../images/m_07.png" src="../images/null.gif" /></span>
                	  <span data-l="1157"></span>
        		</a>
        	</div>
        	<div class="item">
        		<a href="javascript:clicked('../APP/wallet.html')">
        			  <span class="ico"><img data-src="../images/m_12.png" src="../images/null.gif" /></span>
                	  <span data-l="1158"></span>
        		</a>
        	</div>
        	<div class="item">
        		<a href="javascript:clicked('../APP/memorder.html')">
        			<span class="ico"><img data-src="../images/m_13.png" src="../images/null.gif" /></span>
                	<span  data-l="1159"></span>
        		</a>
        	</div>
        	<div class="item">
        		<a href="javascript:;"></a>
        	</div>
     
        </div>

        <ul class="member-item mag-t-20 f-28">
            <li class="cf item" data-goto="../APP/myprofile.html"><i class="right fiex"><svg class="g2 fiex1" ><use xlink:href="#f_right"></use></svg></i>
                <div class="fl"><img data-src="../images/i1.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1" data-l="1099"></span>
                </div>
            </li>
            <li style="display: none;" class="cf item " data-goto="../APP/QRCode.html"><i class="right fiex"><svg class="g2 fiex1" ><use xlink:href="#f_right"></use></svg></i>
                <div class="fl"><img data-src="../images/i2.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1" data-l="1100"></span>
                </div>
            </li>
            <li class="cf item " data-goto="../APP/Language.html"><i class="right fiex"><svg class="g2 fiex1" ><use xlink:href="#f_right"></use></svg></i>
                <div class="fl"><img data-src="../images/i3.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1" data-l="1101"></span>
                </div>
            </li>
            <li class="cf item " data-goto="../APP/Feedback.html"><i class="right fiex"><svg class="g2 fiex1" ><use xlink:href="#f_right"></use></svg></i>
                <div class="fl"><img data-src="../images/i4.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1"  data-l="1102"></span>
                </div>
            </li>
            <li style="display: none;" class="cf item " data-goto="../APP/about.html"><i class="right fiex"><svg class="g2 fiex1" ><use xlink:href="#f_right"></use></svg></i>
                <div class="fl"><img data-src="../images/i1.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1"  data-l="1131"></span>
                </div>
            </li>
            <li class="cf item " data-goto="../APP/cache.html"><i class="right fiex"><svg class="g2 fiex1" ><use xlink:href="#f_right"></use></svg></i>
                <div class="fl"><img data-src="../images/i2.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1"  data-l="1132"></span>
                </div>
            </li>
            <li class="cf item googlemapdemo" style="display: none;"><i class="right fiex"><svg class="g2 fiex1" ><use xlink:href="#f_right"></use></svg></i>
                <div class="fl"><img data-src="../images/i2.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1" >google map demo</span>
                </div>
            </li>
        </ul>

        <ul class="member-item mag-t-20 f-28">
            <li class="cf item right" data-goto="../APP/login.html">
                <div class="fl"><img data-src="../images/i5.png" src="../images/null.gif" /></div>
                <div class="oh fiex">
                    <span class="fiex1"  data-l="1103"></span>
                </div>
            </li>
        </ul>

        <div class="bank50"></div>
        <div class="bank100"></div>


       
        <script>
        	
        	
			var langhuodo001={
				zh:"当前是游客身份，无法领取优惠券请退出后注册并登录！",
				en:"Currently is a tourist identity, can not receive coupons, please log out and register and log in!",
				ms:"Currently is a tourist identity, can not receive coupons, please log out and register and log in!"
			}
			
			//banner广告弹出
			function gotof_01(type,url,position_id,adv_id,tit){
				var type=type,
				url=url,
				position_id=position_id,
				adv_id=adv_id,
				tit=tit
				
				console.log(type,url,position_id,adv_id)
				if(url=="" || url==undefined || url==0){
					return false;
				}
				
				var  psurl="position_id="+position_id+"&adv_id="+adv_id+"&y_h_e="+getCookie("yingsoft_home_encode")+"&lg="+getCookie("language")
				$.ajax({
					type:"post",
					url:root + "index.php?s=/Home/Adv/put_click",
					data: {position_id:position_id,adv_id:adv_id,member_id:getItem('yingsoft_home_member_id')},
        			success: function (html) {
        				
        				//1 纯图 2 app 内跳转 3 app内h5  4 浏览器打开
						switch (type){
							case '1': //纯图
								break;
							case '2'://app 内跳转
								clicked(url)	
								break;
							case '3'://app内h5
								if(url.indexOf("?")!=-1){
									url+="&"+psurl
								}else{
									url+="?"+psurl
								}
								//alert(encodeURIComponent(url))
							
								setItem("url",encodeURIComponent(url));
								
								//console.log(JSON.stringify(getItem("url")))
								clicked("../APP/open_h5.html?httpurl="+getItem("url")+"&titles="+tit)
								break;
							case '4'://浏览器打开
								if(url.indexOf("?")!=-1){
									url+="&"+psurl
								}else{
									url+="?"+psurl
								}
								plus.runtime.openURL(url);
								break;
							case '5'://app内无头H5
								if(url.indexOf("?")!=-1){
									url+="&"+psurl
								}else{
									url+="?"+psurl
								}
								setItem("url",encodeURIComponent(url));
								clicked("../APP/open.html?httpurl="+getItem("url"))
								break;
							default:
								break;
						}
        			},
        			error:function(){
        				mui.toast("提交广告参数错误！")
        			}
				});
			}
			
			function guanggao_box(obj){
				if(getItem("huodong001")!="1"){//只调用一次
					setItem("huodong001","1")
					
					var hds=$("#huodong001");
					var nimg=new Image();
					var src1=oss_2 + obj.list[0].thumb +'?x-oss-process=image/resize,m_fill,h_890,w_500';
		        	nimg.src= src1
		        	nimg.onload=function(){
		        		hds.show().html(template("huodong001-js", {src:src1,tancheng:obj}));
					
						hds.fadeIn();
						
						hds.on('touchmove', function (e) {e.preventDefault(); })
						
						hds.find(".close1").click(function(){
							hds.hide();
						})
		        	}
					
					
				}
			}
			
        	//跳转点餐界面
			function gotoroot(shop_id,shop_table_id){				
				setItem("url",encodeURIComponent(gotos+"index.html?shop_id="+shop_id+"&shop_table_id="+shop_table_id+"&member_id="+ getItem("yingsoft_home_member_id")+"&r="+Math.random()));
				
                jiazai(true);
			}
			
			//扫码打开新窗口
			function code_bak(){
				setTimeout(function(){
					clicked("../APP/open.html?httpurl="+getItem("url"))
				},300)
			}
			
			//返回刷新登录状态
			function index_bak(){
				//alert(123)
				setmenus("home")
				jiazai()
				setmange()
			}
			
			//语言返回刷新
			function lange_bak(){
				//alert(456);
				setlange_obj();
				setmange()
			}
			
        	
        	function default1(){
        	removeItem("huodong001")
        	//判断是否有登录状态
			if(getItem("yingsoft_home_member_id")==null){
				clicked("../APP/login.html")
			}
			
        		//下拉刷新
			  	mui.init({
				  pullRefresh : {
				    container:"#bodyapp",//下拉刷新容器标识，querySelector能定位的css选择器均可，比如：id、.class等
				    down : {
				      style:'circle',//必选，下拉刷新样式，目前支持原生5+ ‘circle’ 样式
				      color:'#90c31f', //可选，默认“#2BD009” 下拉刷新控件颜色
				      height:'50px',//可选,默认50px.下拉刷新控件的高度,
				      range:'100px', //可选 默认100px,控件可下拉拖拽的范围
				      offset:'-10px', //可选 默认0px,下拉刷新控件的起始位置
				      auto: false,//可选,默认false.首次加载自动上拉刷新一次
				      callback :function(){
				      		//mui.toast("执行刷新")
				      		jiazai()
							
				      		mui('#bodyapp').pullRefresh().endPulldownToRefresh();
				      } //必选，刷新函数，根据具体业务来编写，比如通过ajax从服务器获取新数据；
				    }
				  }
				});
			  
        	
//			//扫描返回参数
//			function indexback(){
//				//alert(getItem("result"))
//				setTimeout(function(){
//					//alert(123)
//					clicked(getItem("result")+"&=member_id"+getItem("yingsoft_home_member_id"))
//					removeItem("result")
//				},100)
//			}
			
			
				//是否微信
	        	if(isWeiXin()){
	        		$("#hd_weixin").show();
	        	}else{
	        		$("#hd_app").show();
	        	}
	        	
				jiazai()
				
				selectLanguage(function(){
				 	jiazai()
				});
				
				$("img").each(function(){
					var $th=$(this),
						src=$(this).data("src");
					//console.log(src)
					if(src){
						$(this).attr("src",src+"?"+getItem("setver"));					
					}				
				});
				
				//
			
				
			
			
        	
        	$("img").each(function(){
				var $th=$(this),
					src=$(this).data("src");				
				if(src){
					$(this).attr("src",src+"?"+getItem("setver"));					
				}				
			});
        	
        	setmange()
            
            //console.log("进入店铺首页")
            $(".member-item .item").on("click", function () {
                var d = $(this).attr("data-goto");
                //退出
                if (d.indexOf("login.html")!=-1)
                {
                    $.modal({
                        title: lange['1124'],
                        text: lange['1103'] + lange["1073"],
                        buttons: [
                            {text: lange['1017'], className: "default"},
                            {
                                text: lange['1016'], onClick: function () {
									
									if(!getItem("yingsoft_home_member_username")){
									   setItem("memberset",getItem("yingsoft_home_member_id"))
									}
									
                                    delCookie("yingsoft_home_encode")
                                    delCookie("yingsoft_home_member_username")
                                    delCookie("yingsoft_home_shop_encode")
                                    delCookie("yingsoft_home_member_id")
                                    delCookie("yingsoft_home_member_nickname")
                                    delCookie("yingsoft_home_member_headimgurl")

                                    //清除facebook

//									FB.logout(function(response) {
//									   // Person is now logged out
//									});									
                                    console.log(getCookie("facebook_logout"))
                                    if (getCookie("facebook_logout")) {
                                        //window.location.href = getCookie("facebook_logout");
                                    } else {
                                        //清除微信登录状态
                                        if (isAPP) {
//                                          plus.oauth.getServices(function (services) {
//                                              for (var i in services) {
//                                                  var service = services[i];
//                                                  service.logout();
//                                              }
//                                          });
                                        }

                                       
                                   }
									 clicked("../APP/login.html")

                                }
                            }
                        ]
                    });
                    return false;
                }

                clicked(d);
            })



			///
			//全局属性绑定 
			document.addEventListener("pause",function(){				
				bef_aft()
			}, false );
			
			document.addEventListener("resume",function(){
				aft_bef()
			}, false );
			var bef_aft_var=true;
			function bef_aft(){//前台到后台				
				if(bef_aft_var){
					bef_aft_var=false;
					var nn=new Date();
					setItem("bef_aft_data",Date.parse(nn))//设置时间戳
					console.log(Date.parse(nn)+"应用从前台切换到后台" );
				}
			}
			function aft_bef(){//后台到前台
				if(!bef_aft_var){
					bef_aft_var=true;
					var nn=new Date();
					var baktime=accSub(Date.parse(nn),getItem("bef_aft_data"))/1000 //返回后的时间差
					//if切换回来时间大于10秒 而且 有设置手势锁 调整手势解锁
					if(baktime>10){
						jiazai()
					}					
					
					//如果大于半小时重启app；
					if(baktime>1500){
						plus.runtime.restart();
					}
					
					console.log(Date.parse(nn)+" 应用从后台切换到前台" );
				}
			}	
			
			///
			
			// Android处理返回键

			// Android处理返回键
			
			
			
				android_bak=false;//全局变量设置返回键不生效
				android_index=true;
				// 关闭侧滑返回功能
				var wv=plus.webview.currentWebview();
				wv.setStyle({'popGesture':'none'});

				mui.init({//
					swipeBack:false, //关闭右滑关闭功能
					keyEventBind: {
						backbutton: false  //关闭back按键监听
					}
				});
				
				
//				plus.key.addEventListener('backbutton',function(){
////					plus.nativeUI.confirm(global_lange[1058], function(e){
////						if(e.index>0){
////							plus.runtime.quit();
////						}
////					}, global_lange[1050], [global_lange[1049],global_lange[1008]])
//				},false);
				
        	}
        	
        	//设置信息
        	function setmange(){
        		var user = getCookie("yingsoft_home_member_nickname") != null ? getCookie("yingsoft_home_member_nickname") : "User" + getCookie("yingsoft_home_member_id");
				
				//alert(getCookie("yingsoft_home_member_headimgurl"))
            if (getCookie("yingsoft_home_member_headimgurl") != null) {
                $("#userhead").attr("src",getCookie("yingsoft_home_member_headimgurl")+"?x-oss-process=image/resize,m_fill,h_150,w_150")
            }
            
            if(getCookie("yingsoft_home_member_id")==3359 || getCookie("yingsoft_home_member_id")==3489){
                $(".googlemapdemo").show();
            }
//          $(".googlemapdemo").click(function(){
//              window.location.href="http://u.foodie.vc/APP/googlemapdemo.html?r="+Math.floor(Math.random() * 10000000);
//          });

            $("#username").text(user)
        	}
        	
        	
			function jiazai(chart){
				var st=chart;
				global_ajax(jsonpath + "get_member_is_eating",{}, function (e) {
					
					console.log(JSON.stringify(e))
					if(e.status==1){
							if(e.result){
							e.result["point"]=getItem("point");//设置为登录用户积分
							setCookie("yingsoft_home_shop_encode",e.result.yingsoft_home_shop_encode,1);
							setCookie("shopid",e.result.shopid,1);
						}
						var pt=e.result;
						
						$("#mainbox1").show().html(template("mainbox1-js", pt));
						setlange_obj();
						
						if(st){
							if(e.result.count>0){
								clicked("../APP/open.html?httpurl="+getItem("url"))
							}else{
								removeItem("url");
								$.toast("用餐已经结束","text");
							}
							
						}
						//启动定位
						setmap1();
						if(getCookie("gps")==null){
							$(".position_p").html(lange[1188])
						}
						$(".position_p").on("click",function(){
							setmap1();
						})
						
						var bans=pt.banner;
						bans["oss"]=oss_2;
						$("#banner-box").show().html(template("banner-js", bans));
						var mySwiper = new Swiper('.swiper-container',{pagination : '.swiper-pagination'})
						
						//调用广告弹出
						if(pt.tancheng.adv==1){
							guanggao_box(pt.tancheng)
						}
						
						setmange()
					}else{
						$.toast(e.msg)
					}
					
					
				})
			}
        	
        	
        </script>
    </div>


	 <div class="footer-bottom fiex">
            <div class="fiex2 on home">
                <a href="javascript:;" onclick="setmenus('home')">
                	<em class="em1"><svg class="g2" style="fill-rule: evenodd;" ><use xlink:href="#f_home"></use></svg></em>
                    <em class="em2"><svg class="g2" style="fill-rule: evenodd;" ><use xlink:href="#f_home2"></use></svg></em>
                </a>
            </div>
            <div class="fiex1 saomiao">
                <a href="javascript:clicked('../APP/code.html')">
                    <span>
                        <em><svg class="g2" ><use xlink:href="#f_saomiao"></use></svg></em>
                    </span>
                </a>
            </div>
            <div class="fiex2 member">
                <a href="javascript:;" onclick="setmenus('member')">
                    <em><svg class="g2" ><use xlink:href="#f_member"></use></svg></em>
                </a>
            </div>
        </div>
        
	
</div>
<style>
	.home .em1{ display: none;}
	.home .em2{ display: inline-block;}
	.home.on .em1{ display: inline-block;}
	.home.on .em2{ display: none;}
</style>
<script>
	function setmenus(e){
		$("."+e).addClass("on").siblings().removeClass("on");
		if(e=="home"){
			$("#main-html").show();
			$("#member-html").hide();
		}else{
			$("#member-html").show();
			$("#main-html").hide();
		}
	}
</script>
</div>


	<script>
//		document.addEventListener('plusready',plusReady,false);
//		function plusReady(){
//			if(navigator.userAgent.match(/Html5Plus/i)) {
//				plus.navigator.closeSplashscreen();
//				plus.navigator.setStatusBarStyle('light');
//			}
//		}

			
	</script>
</body>

</html>
